package com.kgc.service.impl;

import com.kgc.dao.TbItemCatMapper;

import com.kgc.service.ItemCatService;
import com.kgc.utils.TreeNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemCatServiceImpl implements ItemCatService {
    @Autowired
    private TbItemCatMapper itemCatMapper;
    @Override
    public List<TreeNode> findItemCats() {
        return itemCatMapper.findItemCats();
    }
}
